package com.framework.bdf4j.config.tenant;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.client.ClientHttpRequestInterceptor;

/**
 * 租户信息拦截
 */
@Configuration
public class ScaTenantConfiguration {

	@Bean
	public ClientHttpRequestInterceptor scaTenantRequestInterceptor() {
		return new TenantRequestInterceptor();
	}

}
